package com.takanafu.haru.code{
	import com.takanafu.haru.code.CodeBase;
	
	public class CodeDotExpression extends CodeBase{
		private var code:CodeBase;
		private var symbol:CodeSymbol;
		
		public function CodeDotExpression(c:CodeBase,sym:CodeSymbol){
			this.code = c;
			this.symbol = sym;
		}
		override public function run():CodeBase{
			var c:CodeBase;
			
			c = this.code.run();
			c = c.message(this.symbol);
			
			return c;
		}
	}
}